[INFO] cloning repository https://github.com/spacecodeur/patchgic
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/spacecodeur/patchgic" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspacecodeur%2Fpatchgic", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspacecodeur%2Fpatchgic'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 18931d9fa26ec7efcc0e3dd908c75f92f16433ac
[INFO] fixing spacecodeur/patchgic against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspacecodeur%2Fpatchgic" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/spacecodeur/patchgic
[INFO] finished tweaking git repo https://github.com/spacecodeur/patchgic
[INFO] tweaked toml for git repo https://github.com/spacecodeur/patchgic written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/spacecodeur/patchgic on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/spacecodeur/patchgic already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded clap v4.5.38
[INFO] [stderr]   Downloaded clap_builder v4.5.38
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 2750c1330262fd0410d5922f8414e6c9503f367f936537f44ad1344494cccb40
[INFO] running `Command { std: "docker" "start" "2750c1330262fd0410d5922f8414e6c9503f367f936537f44ad1344494cccb40", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2750c1330262fd0410d5922f8414e6c9503f367f936537f44ad1344494cccb40" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2750c1330262fd0410d5922f8414e6c9503f367f936537f44ad1344494cccb40", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2750c1330262fd0410d5922f8414e6c9503f367f936537f44ad1344494cccb40" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]     Checking anstyle-parse v0.2.6
[INFO] [stderr]     Checking is_terminal_polyfill v1.70.1
[INFO] [stderr]     Checking anstyle-query v1.1.2
[INFO] [stderr]     Checking colorchoice v1.0.3
[INFO] [stderr]     Checking anstyle v1.0.10
[INFO] [stderr]     Checking clap_lex v0.7.4
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking regex-syntax v0.8.5
[INFO] [stderr]     Checking anstream v0.6.18
[INFO] [stderr]     Checking clap_builder v4.5.38
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]     Checking clap v4.5.38
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]     Checking magicpatch v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0583]: file not found for module `context`
[INFO] [stdout]  --> src/main.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub mod context;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `context`, create file "src/context.rs" or "src/context/mod.rs"
[INFO] [stdout]   = note: if there is a `mod context` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `regex_handler`
[INFO] [stdout]  --> src/processing/mod.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub mod regex_handler;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `regex_handler`, create file "src/processing/regex_handler.rs" or "src/processing/regex_handler/mod.rs"
[INFO] [stdout]   = note: if there is a `mod regex_handler` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `filetype` in `context`
[INFO] [stdout]   --> src/filetypes/env.rs:35:29
[INFO] [stdout]    |
[INFO] [stdout] 35 |         use crate::context::filetype::env::detect_env_specific_contexts;
[INFO] [stdout]    |                             ^^^^^^^^ could not find `filetype` in `context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `FileTypeContext` in this scope
[INFO] [stdout]   --> src/processing/pipeline.rs:19:35
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let specific_contexts = Vec::<FileTypeContext>::new(); // À implémenter selon le type de fichier
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub fn process_file<FileTypeContext>(
[INFO] [stdout]    |                    +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `full_match` in this scope
[INFO] [stdout]   --> src/processing/pipeline.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |         full_match.as_str(),
[INFO] [stdout]    |         ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `capture_group` in this scope
[INFO] [stdout]   --> src/processing/pipeline.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |         capture_group,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `regex::Regex`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use regex::Regex;
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `context`
[INFO] [stdout]  --> src/main.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub mod context;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `context`, create file "src/context.rs" or "src/context/mod.rs"
[INFO] [stdout]   = note: if there is a `mod context` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `regex_handler`
[INFO] [stdout]  --> src/processing/mod.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub mod regex_handler;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `regex_handler`, create file "src/processing/regex_handler.rs" or "src/processing/regex_handler/mod.rs"
[INFO] [stdout]   = note: if there is a `mod regex_handler` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `filetype` in `context`
[INFO] [stdout]   --> src/filetypes/env.rs:35:29
[INFO] [stdout]    |
[INFO] [stdout] 35 |         use crate::context::filetype::env::detect_env_specific_contexts;
[INFO] [stdout]    |                             ^^^^^^^^ could not find `filetype` in `context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `FileTypeContext` in this scope
[INFO] [stdout]   --> src/processing/pipeline.rs:19:35
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let specific_contexts = Vec::<FileTypeContext>::new(); // À implémenter selon le type de fichier
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub fn process_file<FileTypeContext>(
[INFO] [stdout]    |                    +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `full_match` in this scope
[INFO] [stdout]   --> src/processing/pipeline.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |         full_match.as_str(),
[INFO] [stdout]    |         ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `capture_group` in this scope
[INFO] [stdout]   --> src/processing/pipeline.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |         capture_group,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `regex::Regex`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use regex::Regex;
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 3 arguments but 4 arguments were supplied
[INFO] [stdout]   --> src/processing/pipeline.rs:22:37
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let processed_content = handler.process(
[INFO] [stdout]    |                                     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |         new_content,
[INFO] [stdout]    |         ----------- unexpected argument #4 of type `&str`
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> src/filetypes/mod.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn process(
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]    |
[INFO] [stdout] 25 -         capture_group,
[INFO] [stdout] 26 -         new_content,
[INFO] [stdout] 25 +         capture_group,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 3 arguments but 4 arguments were supplied
[INFO] [stdout]   --> src/processing/pipeline.rs:22:37
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let processed_content = handler.process(
[INFO] [stdout]    |                                     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |         new_content,
[INFO] [stdout]    |         ----------- unexpected argument #4 of type `&str`
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> src/filetypes/mod.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn process(
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]    |
[INFO] [stdout] 25 -         capture_group,
[INFO] [stdout] 26 -         new_content,
[INFO] [stdout] 25 +         capture_group,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `replacement_type`
[INFO] [stdout]   --> src/main.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 |     replacement_type: &str,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_replacement_type`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `replacement_type`
[INFO] [stdout]   --> src/main.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 |     replacement_type: &str,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_replacement_type`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0425, E0433, E0583.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0425, E0433, E0583.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `magicpatch` (bin "magicpatch") due to 7 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `magicpatch` (bin "magicpatch" test) due to 7 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "2750c1330262fd0410d5922f8414e6c9503f367f936537f44ad1344494cccb40", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2750c1330262fd0410d5922f8414e6c9503f367f936537f44ad1344494cccb40", kill_on_drop: false }`
[INFO] [stdout] 2750c1330262fd0410d5922f8414e6c9503f367f936537f44ad1344494cccb40
